package com.zky.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description 二级分类
 * @Author 张开源
 * @Date 2022/10/21 22:06
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CateLog2Vo {
    //一级父分类
    private String catalog1Id;
    //三级子分类
    private List<CateLog3Vo> catalog3List;

    private String id;

    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class CateLog3Vo {
        //二级父分类
        private String catalog2Id;

        private String id;

        private String name;
    }
}
